<script setup>

const arr1 = [
  {
    icon:'../../static/image/name.png',
    name:'张三',
    card:'123456789',
    college: 'A学院',
    major: 'A专业',
    exception: '走读',

  },
  {
    icon:'../../static/image/name.png',
    name:'李四',
    card:'1234456789',
    college: 'A学院',
    major: 'A专业',
    exception: '走读',

  },
]
</script>

<template>
  <view class="main">
    <view class="top">
      <view class="title">
        本学期上报关键词
      </view>
      <view class="df">
        <view class="select" v-for="(item,user) in arr" :key="user">
          <text class="text">{{item.text}}</text>
        </view>
      </view>
    </view>
    <view class="search">
      <text class="search1">请输入姓名/学号关键词查询</text>
    </view>
    <view class="list" v-for="(item,user) in arr1" :key="user">
      <view class="title1">
        <view>
          <image class="icon" :src ='item.icon'></image>
        </view>
        <view class="contain">
          <text class="name">{{item.name}}</text>
          <text class="card">{{item.card}}</text>
        </view>
      </view>
      <view class="college">学院：{{item.college}}</view>
      <view class="major">专业：{{item.major}}</view>
      <view class="exception">异常情况说明：{{item.exception}}</view>
      <view class="divider"></view>

    </view>
  </view>
</template>

<style scoped>
.search1{
  width: 150px;
  height: 17px;
  font-weight: 400;
  font-size: 12px;
  color: #7A7A7A;
  letter-spacing: 0;
}
.phone{
  width: 319px;
  height: 25px;
  font-weight: 400;
  font-size: 12px;
  color: #5C5C5C;
  letter-spacing: 0;
  line-height: 13px;
  margin-left: 12px;
}
.employeeId{
  width: 319px;
  height: 25px;
  font-weight: 400;
  font-size: 12px;
  color: #5C5C5C;
  letter-spacing: 0;
  line-height: 13px;
  margin-left: 12px;
}
.counselor{
  width: 319px;
  height: 25px;
  font-weight: 400;
  font-size: 12px;
  color: #5C5C5C;
  letter-spacing: 0;
  line-height: 13px;
  margin-left: 12px;
}
.divider {
  height: 1px;
  background-color: #e5e5e5;
  margin: 5px 5px;
  width: 100%;
}
.exception{
  width: 319px;
  height: 25px;
  font-weight: 400;
  font-size: 12px;
  color: #5C5C5C;
  letter-spacing: 0;
  line-height: 13px;
  margin-left: 12px;
}
.major{
  width: 319px;
  height: 25px;
  font-weight: 400;
  font-size: 12px;
  color: #5C5C5C;
  letter-spacing: 0;
  line-height: 13px;
  margin-left: 12px;
}
.college{
  width: 319px;
  height: 25px;
  font-weight: 400;
  font-size: 12px;
  color: #5C5C5C;
  letter-spacing: 0;
  line-height: 13px;
  margin-left: 12px;
}
.contain{
  display: flex;
  flex: 1;
  justify-content: space-between;
  align-items: center;
  padding-right: 12px;
}
.title1{
  display: flex;
  flex-direction: row;
  margin-left: 12px;
  margin-top: 20px;
}
.icon{
  width: 16px;
  height: 16px;
}
.name{
  width: 45px;
  height: 21px;
  font-weight: 500;
  font-size: 15px;
  color: #000000;
  letter-spacing: 0;
  margin-left: 2px;
}
.card{
  height: 13px;
  font-weight: 400;
  font-size: 12px;
  color: #7A7A7A;
  letter-spacing: 0;
  line-height: 13px;
  text-align: right;
}
.text{
  width: 96px;
  height: 17px;
  font-weight: 400;
  font-size: 12px;
  color: #000000;
  letter-spacing: 0;
  margin-left: 12px;
}
.df{
  display: flex;
  flex-direction: row;
  margin-top: 12px;
}
.select{
  width: 68px;
  height: 28px;
  border: 1px solid #9C131E;
  border-radius: 14px;
  margin-left: 12px;
}
.title{
  width: 96px;
  height: 17px;
  font-weight: 400;
  font-size: 12px;
  color: #000000;
  letter-spacing: 0;
  margin-top: 15px;
  margin-left: 12px;
}
.main {
  width: 100%;
  height: 100%;
  background: #F3F5F9;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.top{
  width: 351px;
  height: 90px;
  background: #FFFFFF;
  border-radius: 12px;
  margin-top: 16px;
}
.search{
  width: 315px;
  height: 40px;
  background: #FFFFFF;
  border-radius: 21px;
  margin-top: 15px;
  display: flex;
  align-items: center;
  padding-left: 36px;
}
.list{
  width: 351px;
  height: 212px;
  background: #FFFFFF;
  border-radius: 12px;
  margin-top: 15px;
}
</style>
